package controller 
{
	import flash.events.Event;
	import model.data.InventoryObjectTypes;
	import model.data.NPCTypes;
	
	/**
	 * ...
	 * @author Gaz Williams
	 */
	public class NPCModelEvent extends Event 
	{
		
		public static const WRONG_ITEM:String = "wrong item";
		public static const RIGHT_ITEM:String = "right item";
		
		public var forInventoryItem:InventoryObjectTypes; 
		
		public function NPCModelEvent(type:String, forInventoryItem:InventoryObjectTypes, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			this.forInventoryItem = forInventoryItem;
		} 
		
		public override function clone():Event 
		{ 
			return new NPCModelEvent(type, forInventoryItem, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("NPCModelEvent", "type", "forInventoryItem", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}